package com.spring.app.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name ="ITEM")
//@JsonIgnoreProperties(ignoreUnknown=true)
public class ItemData implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6835314253016029295L;
	
	@Id
	@Column(name="item_Id")
	@GeneratedValue(strategy=GenerationType.IDENTITY)	
	private Long item_Id;
	
	@Column(name="Item_name")
	private String itemname;
	@Column(name="Item_code")
	private String itemCode;
	public Long getItemId() {
		return item_Id;
	}
	public void setItemId(Long itemId) {
		this.item_Id = itemId;
	}
	public String getItemnamew() {
		return itemname;
	}
	public void setItemnamew(String itemnamew) {
		this.itemname = itemnamew;
	}
	public String getItemCode() {
		return itemCode;
	}
	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	
	
	


}
